package com.amms.android.entities;

import java.util.Collection;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Player implements java.io.Serializable {
	/**
	 */
	public Player(){
		this.id=java.util.UUID.randomUUID().toString();
	}
	/**
	 * @uml.property  name="modules"
	 * @uml.associationEnd  multiplicity="(1 -1)" inverse="player:com.amms.android.entities.Module"
	 */
	private Collection<Module> modules;

	/**
	 * Getter of the property <tt>modules</tt>
	 * @return  Returns the modules.
	 * @uml.property  name="modules"
	 */
	public Collection<Module> getModules() {
		return modules;
	}

	/**
	 * Setter of the property <tt>modules</tt>
	 * @param modules  The modules to set.
	 * @uml.property  name="modules"
	 */
	public void setModules(Collection<Module> modules) {
		this.modules = modules;
	}

	/**
	 * @uml.property  name="profiles"
	 * @uml.associationEnd  multiplicity="(1 -1)" inverse="player:com.amms.android.entities.Profile"
	 */
	private Collection<Profile> profiles;

	/**
	 * Getter of the property <tt>profiles</tt>
	 * @return  Returns the profiles.
	 * @uml.property  name="profiles"
	 */
	public Collection<Profile> getProfiles() {
		return profiles;
	}

	/**
	 * Setter of the property <tt>profiles</tt>
	 * @param profiles  The profiles to set.
	 * @uml.property  name="profiles"
	 */
	public void setProfiles(Collection<Profile> profiles) {
		this.profiles = profiles;
	}

	/**
	 * @uml.property  name="id"
	 */
	@Id
	private String id = "";

	/**
	 * Getter of the property <tt>id</tt>
	 * @return  Returns the id.
	 * @uml.property  name="id"
	 */
	public String getId() {
		return id;
	}

	/**
	 * Setter of the property <tt>id</tt>
	 * @param id  The id to set.
	 * @uml.property  name="id"
	 */
	public void setId(String id) {
		this.id = id;
	}

		
	

		/**
		 * @uml.property  name="alias"
		 */
		private String alias = "";

		/**
		 * Getter of the property <tt>alias</tt>
		 * @return  Returns the alias.
		 * @uml.property  name="alias"
		 */
		public String getAlias() {
			return alias;
		}

		/**
		 * Setter of the property <tt>alias</tt>
		 * @param alias  The alias to set.
		 * @uml.property  name="alias"
		 */
		public void setAlias(String alias) {
			this.alias = alias;
		}

		/**
		 * @uml.property  name="age"
		 */
		private String age = "";

		/**
		 * Getter of the property <tt>age</tt>
		 * @return  Returns the age.
		 * @uml.property  name="age"
		 */
		public String getAge() {
			return age;
		}

		/**
		 * Setter of the property <tt>age</tt>
		 * @param age  The age to set.
		 * @uml.property  name="age"
		 */
		public void setAge(String age) {
			this.age = age;
		}

		/**
		 * @uml.property  name="gender"
		 */
		private String gender = "";

		/**
		 * Getter of the property <tt>gender</tt>
		 * @return  Returns the gender.
		 * @uml.property  name="gender"
		 */
		public String getGender() {
			return gender;
		}

		/**
		 * Setter of the property <tt>gender</tt>
		 * @param gender  The gender to set.
		 * @uml.property  name="gender"
		 */
		public void setGender(String gender) {
			this.gender = gender;
		}

		/**
		 * @uml.property  name="intrests"
		 * @uml.associationEnd  multiplicity="(1 -1)" inverse="player:com.amms.android.entities.Intrest"
		 */
		private Collection<Intrest> intrests;

		/**
		 * Getter of the property <tt>intrests</tt>
		 * @return  Returns the intrests.
		 * @uml.property  name="intrests"
		 */
		public Collection<Intrest> getIntrests() {
			return intrests;
		}

		/**
		 * Setter of the property <tt>intrests</tt>
		 * @param intrests  The intrests to set.
		 * @uml.property  name="intrests"
		 */
		public void setIntrests(Collection<Intrest> intrests) {
			this.intrests = intrests;
		}

}
